package com.shareach.service;

import java.util.List;

import org.springframework.data.domain.Page;

import com.shareach.common.BaseQueryOrder;
import com.shareach.domain.BaseZoomDomain;

/**
 * create time：2013-1-30 上午11:54:12
 * 
 * @author retryu
 * @since JDK 1.6
 * @version 1.0 description：
 */
public interface BaseZoomService {

	Long save(BaseZoomDomain domain);

	void del(BaseZoomDomain doamin);

	void update(BaseZoomDomain domain);
	
	void update(BaseZoomDomain domain,BaseZoomDomain condition);

	BaseZoomDomain getById(Long id);

	List<BaseZoomDomain> getList(BaseZoomDomain domain);
	//load page
	Page<BaseZoomDomain> getPageResult(BaseZoomDomain domain, BaseQueryOrder order);
	
	BaseZoomDomain findOne(BaseZoomDomain domain);
	
}
